package fastsyncer.config;

import java.util.Vector;

import org.fastsyncer.common.constant.CommonConstant;

public class ConfigConstant {

	/**
	 * 默认可以修改的参数集合
	 */
	protected static final Vector<String> DEFAULT_PARAMS = new Vector<String>();
	
	static {
		/**
		 * #worker单次任务最多执行条数 fastsyncer.worker.task.max.number=500
		 * #worker每次批量执行条数 fastsyncer.worker.batch.number=50 #worker线程数
		 * fastsyncer.worker.thread.number=10
		 */
		DEFAULT_PARAMS.add(CommonConstant.WORKER_TASK_MAX_NUMBER);
		DEFAULT_PARAMS.add(CommonConstant.WORKER_BATCH_NUMBER);
		DEFAULT_PARAMS.add(CommonConstant.WORKER_THREAD_NUMBER);
	}
}
